<%--
  Created by IntelliJ IDEA.
  User: marshall
  Date: Jul 30, 2008
  Time: 11:08:57 PM
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" %>
<html>
    <head>
        <title>Member Login</title>
        <meta name="layout" content="main"/>
    </head>
    <body>
        <h3>Login to your profile</h3>
        <g:if test="${flash.loginError}">
             <div class="errors">${flash.loginError}</div>
        </g:if>
    <g:form action="login" method="post" >
        <div class="dialog">
            <table>
                <tbody>
                    <tr class="prop">
                        <td valign="top" class="name">
                            <label for="form_email">Email:</label>
                        </td>
                        <td valign="top" class="value">
                            <input type="text" maxlength="50" id="form_email" name="email" value=""/>
                        </td>
                    </tr>

                    <tr class="prop">
                        <td valign="top" class="name">
                            <label for="form_password">Password:</label>
                        </td>
                        <td valign="top" class="value">
                            <input type="password" maxlength="12" id="form_password" name="password" value=""/>
                        </td>
                    </tr>
                </tbody>
            </table>
        </div>
        <div class="buttons">
            <span class="button"><input class="save" type="submit" value="sign in" /></span>
        </div>
    </g:form>
    <p>Not a member yet? <g:link controller="user" action="register">Become one today!</g:link></p>
    </body>
</html>